Transposition

An important question is : ``can MusicTEX transpose a score ?''. The answer is now 99.5 % yes. If fact, there is an internal register named \transpose the default value of which is zero, but it may be set to any positive of negative reasonable value. Then, it offsets all symbols pitched with letter symbols by that number of pitch steps. However, it will neither change the signature nor the local accidentals, and if – for example – you transpose by 1 pitch a piece written in C, MusicTEX will not know whether you want it in D$\flat$, in D or in D$\sharp$. This might become tricky if accidentals occur within the piece, which might have to be converted into flats, naturals, sharps or double sharps, depending on the new choosen signature. To circumvent this trouble, relative accidentals have been implemented, the actual output of which depends of the pitch of this accidental and of the current signature.